package com.qrxl.user.vo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel(value = "角色关联菜单请求参数", description = "请求参数类")
public class RoleRelMenuReq {

    @NotBlank(message = "角色ID不能为空")
    @ApiModelProperty(value = "角色ID", required = true)
    private String roleId;

    @NotNull(message = "菜单id列表不能为空")
    @ApiModelProperty(value = "菜单id列表", required = true)
    private List<String> menuIdList;
}
